package leave.dataaccess;

import java.util.Date;

import leave.exception.DataAccessException;
import leave.model.PublicHoliday;


public interface PublicHolidayDAO {

	public boolean isPublicHoliday(Date date) throws DataAccessException;
	public PublicHoliday[] getPublicHolidays(Date startDate, Date endDate) throws DataAccessException; 
	public PublicHoliday createPublicHolidays();
	public void insertPublicHoliday(PublicHoliday publicHoliday) throws DataAccessException;
	public void updatePublicHoliday(PublicHoliday publicHoliday) throws DataAccessException;
	public void deletePublicHoliday(PublicHoliday publicHoliday) throws DataAccessException;

}
